package com.newland.boss1.zxy.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author : zhangxuyuan
 * @Project: springcloudprometheus
 * @Package com.newland.boss1.zxy.feign
 * @date Date : 2021年03月11日 10:02
 */
@FeignClient("provider")
public interface ProviderCall {

    @GetMapping("/sayhello/{name}")
    String sayHello(@PathVariable("name")String name);
}
